<%@page import="com.zhuoshi.bean.ContractSubBean"%>
<%@page import="com.zhuoshi.dao.ContractSubDao"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
request.setCharacterEncoding("UTF-8");
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String sqarename1 = request.getParameter("sqare");
String sqarename = new String(sqarename1.getBytes("ISO-8859-1"),"UTF-8");
String numerical = request.getParameter("numerical");
ContractSubDao dao = new ContractSubDao();
ContractSubBean bean = dao.getModel(sqarename, Integer.parseInt(numerical));

StringBuffer returnStr = new StringBuffer();
returnStr.append(bean.getModeltype()+",");//规格型号
returnStr.append(bean.getUnit()+",");//计量单位
returnStr.append(bean.getTotalcount()+",");//数量
returnStr.append(bean.getPrice()+",");//单价
returnStr.append(bean.getTotalmoney());//总金额

response.getWriter().write(returnStr.toString());



%>
